html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    * {
        box-sizing: border-box;
    }
}

html,
body {
    height: 100%;
    background: #ededed;
    margin: 0 auto;
    font-size: 14px;
    color: #414568;
}


/* 公共样式 */

.iconfont {
    font-size: 24px !important;
}

.fz22 {
    font-size: 22px !important;
}

.line {
    text-decoration: underline;
}

.flexCenter {
    display: flex;
    justify-content: space-around;
}

input[type=search] {
    -webkit-appearance: textfield;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none;
}


/* app */

#app {
    font-family: MicrosoftYaHei, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    width: 100%;
    height: 100%;
    font-size: .373333rem;
}

.header {
    height: 1.333333rem;
    line-height: 1.333333rem;
    background: #414568;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.10);
    i.icon-zuojiantou {
        position: absolute;
        left: 20px;
    }
    * {
        color: #fff;
        font-size: 18px;
    }
}

.footer_menu {
    position: fixed;
    z-index: 2;
    background: #fff;
    box-shadow: 0 -1px 3px 0 rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    text-align: center;
    a {
        color: #757575;
        padding: .186667rem 0;
        font-size: 12px;
        &:hover,
        &:visited {
            text-decoration: none;
        }
        &.active {
            color: #212121;
        }
    }
    i.iconfont {
        display: block;
        margin-bottom: 3px;
    }
}


/* 加载中 */

.loading-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    margin: -50px 0 0 -50px;
    width: 100px;
    height: 100px;
    padding-top: 20px;
    background: rgba(0, 0, 0, 0.45);
    text-align: center;
    border-radius: 10px;
    color: #fff;
    i.jiazai {
        font-size: 30px !important;
        animation: roate 2.5s infinite linear;
        -webkit-animation: rotate 2.5s linear infinite;
        display: inline-block;
        margin-bottom: 10px;
    }
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg)
    }
    to {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes roate {
    from {
        transform: rotateZ(0)
    }
    to {
        transform: rotateZ(360deg)
    }
}

@-webkit-keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3)
    }
    50% {
        opacity: 1
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3)
    }
    50% {
        opacity: 1
    }
}


/* 登录注册 */

.loginRegister {
    width: 100%;
    height: 100%;
    position: relative;
    .error_warning {
        position: absolute;
        z-index: 3;
        width: 100%;
        top: 50%;
        margin-top: -.533333rem;
        display: none;
        opacity: 0;
        text-align: center;
        transition: all .5s;
        -webkit-animation: zoomIn .15s ease forwards;
        animation: zoomIn .15s ease forwards;
        span {
            background: rgba(0, 0, 0, 0.80);
            border-radius: 30px;
            line-height: .533333rem;
            padding: .266667rem .533333rem;
            color: #fff;
        }
        &.active {
            transform: scale(1, 1);
            opacity: 1;
            display: block;
        }
    }
}

#login,
#register {
    background: #414568 url(../images/login_bg.jpg) no-repeat;
    background-size: 100% auto;
}

.input_list {
    line-height: .64rem;
    position: relative;
    i.iconfont {
        margin: .053333rem .266667rem 0 0;
        height: .533333rem;
        &#isVisible {
            position: absolute;
            right: 20px;
            margin: 0;
            padding: 0;
            border: 0;
            z-index: 2;
        }
    }
    input {
        width: 100%;
        display: inline-block;
        border: 0;
        font-size: .426667rem;
        line-height: .64rem;
    }
}

.loginRegister_btn {
    margin: 0 .8rem;
    button {
        background: #3AA8E0;
        width: 100%;
        height: .96rem;
        border: 0;
        text-align: center;
        line-height: .96rem;
        border-radius: .053333rem;
        color: #fff;
        font-size: .373333rem;
    }
}